load("@build_bazel_rules_swift//swift:swift.bzl", "swift_library")

load(
    "@build_configuration//:variables.bzl",
    "telegram_bundle_id",
)


filegroup(
    name = "TelegramUIResources",
    srcs = glob([
        "Sounds/**/*",
        "Resources/**/*",
    ], exclude = ["Sounds/**/.*", "Resources/**/.*"]),
    visibility = ["//visibility:public"],
)

filegroup(
    name = "TelegramUIAssets",
    srcs = glob(["Images.xcassets/**"]),
    visibility = ["//visibility:public"],
)

#filegroup(
#    name = "Icons",
#    srcs = glob([
#        "Telegram-iOS/Icons.xcassets/**/*",
#    ], exclude = ["Telegram-iOS/Icons.xcassets/**/.*"]),
#)

internal_bundle_ids = [
    "org.telegram.Telegram-iOS",
]

available_appcenter_targets = [
    "@appcenter_sdk//:AppCenter",
    "@appcenter_sdk//:AppCenterCrashes",
]

appcenter_targets = available_appcenter_targets if telegram_bundle_id in internal_bundle_ids else []

swift_library(
    name = "TelegramUI",
    module_name = "TelegramUI",
    srcs = glob([
        "Sources/**/*.swift",
    ]),
    copts = [
        "-warnings-as-errors",
    ],
    deps = [
        "//third-party/recaptcha:RecaptchaEnterprise",
        "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit",
        "//submodules/SSignalKit/SSignalKit:SSignalKit",
        "//submodules/AsyncDisplayKit:AsyncDisplayKit",
        "//submodules/Display:Display",
        "//submodules/Postbox:Postbox",
        "//submodules/TelegramCore:TelegramCore",
        "//submodules/MtProtoKit:MtProtoKit",
        "//submodules/TelegramPresentationData:TelegramPresentationData",
        "//submodules/AccountContext:AccountContext",
        "//submodules/LegacyComponents:LegacyComponents",
        "//submodules/lottie-ios:Lottie",
        "//submodules/FFMpegBinding:FFMpegBinding",
        "//submodules/WebPBinding:WebPBinding",
        "//submodules/RMIntro:RMIntro",
        "//submodules/GZip:GZip",
        "//submodules/TelegramCallsUI:TelegramCallsUI",
        "//submodules/TelegramUIPreferences:TelegramUIPreferences",
        "//submodules/MediaPlayer:UniversalMediaPlayer",
        "//submodules/TelegramVoip:TelegramVoip",
        "//submodules/DeviceAccess:DeviceAccess",
        "//submodules/Utils/DeviceModel",
        "//submodules/BuildConfig:BuildConfig",
        "//submodules/BuildConfigExtra:BuildConfigExtra",
        "//submodules/rlottie:RLottieBinding",
        "//submodules/TelegramUpdateUI:TelegramUpdateUI",
        "//submodules/MergeLists:MergeLists",
        "//submodules/ActivityIndicator:ActivityIndicator",
        "//submodules/ProgressNavigationButtonNode:ProgressNavigationButtonNode",
        "//submodules/ItemListUI:ItemListUI",
        "//submodules/TelegramBaseController:TelegramBaseController",
        "//submodules/DeviceLocationManager:DeviceLocationManager",
        "//submodules/AvatarNode:AvatarNode",
        "//submodules/AvatarVideoNode:AvatarVideoNode",
        "//submodules/OverlayStatusController:OverlayStatusController",
        "//submodules/TelegramStringFormatting:TelegramStringFormatting",
        "//submodules/LiveLocationManager:LiveLocationManager",
        "//submodules/LiveLocationTimerNode:LiveLocationTimerNode",
        "//submodules/TemporaryCachedPeerDataManager:TemporaryCachedPeerDataManager",
        "//submodules/ShareController:ShareController",
        "//submodules/RadialStatusNode:RadialStatusNode",
        "//submodules/PeerOnlineMarkerNode:PeerOnlineMarkerNode",
        "//submodules/PeerPresenceStatusManager:PeerPresenceStatusManager",
        "//submodules/ChatListSearchRecentPeersNode:ChatListSearchRecentPeersNode",
        "//submodules/ImageBlur:ImageBlur",
        "//submodules/ContextUI:ContextUI",
        "//submodules/MediaResources:MediaResources",
        "//submodules/TelegramAudio:TelegramAudio",
        "//submodules/UrlEscaping:UrlEscaping",
        "//submodules/Tuples:Tuples",
        "//submodules/TextFormat:TextFormat",
        "//submodules/SwitchNode:SwitchNode",
        "//submodules/StickerResources:StickerResources",
        "//submodules/SelectablePeerNode:SelectablePeerNode",
        "//submodules/SaveToCameraRoll:SaveToCameraRoll",
        "//submodules/LocalizedPeerData:LocalizedPeerData",
        "//submodules/ListSectionHeaderNode:ListSectionHeaderNode",
        "//submodules/HorizontalPeerItem:HorizontalPeerItem",
        "//submodules/CheckNode:CheckNode",
        "//submodules/AnimationUI:AnimationUI",
        "//submodules/AnimatedStickerNode:AnimatedStickerNode",
        "//submodules/TelegramAnimatedStickerNode:TelegramAnimatedStickerNode",
        "//submodules/ActionSheetPeerItem:ActionSheetPeerItem",
        "//submodules/ComposePollUI:ComposePollUI",
        "//submodules/AlertUI:AlertUI",
        "//submodules/PresentationDataUtils:PresentationDataUtils",
        "//submodules/TouchDownGesture:TouchDownGesture",
        "//submodules/SwipeToDismissGesture:SwipeToDismissGesture",
        "//submodules/DirectionalPanGesture:DirectionalPanGesture",
        "//submodules/UndoUI:UndoUI",
        "//submodules/PhotoResources:PhotoResources",
        "//submodules/TinyThumbnail:TinyThumbnail",
        "//submodules/ImageTransparency:ImageTransparency",
        "//submodules/TelegramNotices:TelegramNotices",
        "//submodules/TelegramPermissions:TelegramPermissions",
        "//submodules/GameUI:GameUI",
        "//submodules/WebUI:WebUI",
        "//submodules/PassportUI:PassportUI",
        "//submodules/PhoneInputNode:PhoneInputNode",
        "//submodules/CountrySelectionUI:CountrySelectionUI",
        "//submodules/SearchBarNode:SearchBarNode",
        "//submodules/GalleryUI:GalleryUI",
        "//submodules/TelegramUniversalVideoContent:TelegramUniversalVideoContent",
        "//submodules/WebsiteType:WebsiteType",
        "//submodules/ScreenCaptureDetection:ScreenCaptureDetection",
        "//submodules/OpenInExternalAppUI:OpenInExternalAppUI",
        "//submodules/LegacyUI:LegacyUI",
        "//submodules/ImageCompression:ImageCompression",
        "//submodules/DateSelectionUI:DateSelectionUI",
        "//submodules/PasswordSetupUI:PasswordSetupUI",
        "//submodules/Pdf:Pdf",
        "//submodules/InstantPageUI:InstantPageUI",
        "//submodules/MusicAlbumArtResources:MusicAlbumArtResources",
        "//submodules/LiveLocationPositionNode:LiveLocationPositionNode",
        "//submodules/MosaicLayout:MosaicLayout",
        "//submodules/LocationUI:LocationUI",
        "//submodules/Stripe:Stripe",
        "//submodules/BotPaymentsUI:BotPaymentsUI",
        "//submodules/LocalAuth:LocalAuth",
        "//submodules/ContactListUI:ContactListUI",
        "//submodules/SearchUI:SearchUI",
        "//submodules/ChatListSearchItemHeader:ChatListSearchItemHeader",
        "//submodules/ItemListPeerItem:ItemListPeerItem",
        "//submodules/ContactsPeerItem:ContactsPeerItem",
        "//submodules/ChatListSearchItemNode:ChatListSearchItemNode",
        "//submodules/TelegramPermissionsUI:TelegramPermissionsUI",
        "//submodules/PeersNearbyIconNode:PeersNearbyIconNode",
        "//submodules/SolidRoundedButtonNode:SolidRoundedButtonNode",
        "//submodules/PasscodeUI:PasscodeUI",
        "//submodules/CallListUI:CallListUI",
        "//submodules/ChatListUI:ChatListUI",
        "//submodules/ChatTitleActivityNode:ChatTitleActivityNode",
        "//submodules/DeleteChatPeerActionSheetItem:DeleteChatPeerActionSheetItem",
        "//submodules/LanguageSuggestionUI:LanguageSuggestionUI",
        "//submodules/TextSelectionNode:TextSelectionNode",
        "//submodules/PlatformRestrictionMatching:PlatformRestrictionMatching",
        "//submodules/HashtagSearchUI:HashtagSearchUI",
        "//submodules/ItemListAvatarAndNameInfoItem:ItemListAvatarAndNameInfoItem",
        "//submodules/ItemListPeerActionItem:ItemListPeerActionItem",
        "//submodules/StickerPackPreviewUI:StickerPackPreviewUI",
        "//submodules/YuvConversion:YuvConversion",
        "//submodules/JoinLinkPreviewUI:JoinLinkPreviewUI",
        "//submodules/LanguageLinkPreviewUI:LanguageLinkPreviewUI",
        "//submodules/WebSearchUI:WebSearchUI",
        "//submodules/LegacyMediaPickerUI:LegacyMediaPickerUI",
        "//submodules/MimeTypes:MimeTypes",
        "//submodules/LocalMediaResources:LocalMediaResources",
        "//submodules/PeersNearbyUI:PeersNearbyUI",
        "//submodules/Geocoding:Geocoding",
        "//submodules/PeerInfoUI:PeerInfoUI",
        "//submodules/PeerAvatarGalleryUI:PeerAvatarGalleryUI",
        "//submodules/Emoji:Emoji",
        "//submodules/ItemListStickerPackItem:ItemListStickerPackItem",
        "//submodules/NotificationMuteSettingsUI:NotificationMuteSettingsUI",
        "//submodules/SinglePhoneInputNode:SinglePhoneInputNode",
        "//submodules/MapResourceToAvatarSizes:MapResourceToAvatarSizes",
        "//submodules/NotificationSoundSelectionUI:NotificationSoundSelectionUI",
        "//submodules/EncryptionKeyVisualization:EncryptionKeyVisualization",
        "//submodules/ItemListAddressItem:ItemListAddressItem",
        "//submodules/DeviceProximity:DeviceProximity",
        "//submodules/RaiseToListen:RaiseToListen",
        "//submodules/OpusBinding:OpusBinding",
        "//third-party/opus:opus",
        "//submodules/ShareItems:ShareItems",
        "//submodules/ShareItems/Impl:ShareItemsImpl",
        "//submodules/SettingsUI:SettingsUI",
        "//submodules/UrlHandling:UrlHandling",
        "//submodules/HexColor:HexColor",
        "//submodules/QrCode:QrCode",
        "//submodules/WallpaperResources:WallpaperResources",
        "//submodules/AuthorizationUI:AuthorizationUI",
        "//submodules/CounterControllerTitleView:CounterControllerTitleView",
        "//submodules/GridMessageSelectionNode:GridMessageSelectionNode",
        "//submodules/InstantPageCache:InstantPageCache",
        "//submodules/PersistentStringHash:PersistentStringHash",
        "//submodules/SegmentedControlNode:SegmentedControlNode",
        "//submodules/AppBundle:AppBundle",
        "//submodules/Markdown:Markdown",
        "//submodules/SearchPeerMembers:SearchPeerMembers",
        "//submodules/WidgetItems:WidgetItems",
        "//submodules/WidgetItemsUtils:WidgetItemsUtils",
        "//submodules/OpenSSLEncryptionProvider:OpenSSLEncryptionProvider",
        "//submodules/PhoneNumberFormat:PhoneNumberFormat",
        "//submodules/AppLock:AppLock",
        "//submodules/NotificationsPresentationData:NotificationsPresentationData",
        "//submodules/UrlWhitelist:UrlWhitelist",
        "//submodules/TelegramIntents:TelegramIntents",
        "//submodules/LocationResources:LocationResources",
        "//submodules/ItemListVenueItem:ItemListVenueItem",
        "//submodules/SemanticStatusNode:SemanticStatusNode",
        "//submodules/AccountUtils:AccountUtils",
        "//submodules/Svg:Svg",
        "//submodules/ManagedAnimationNode:ManagedAnimationNode",
        "//submodules/TooltipUI:TooltipUI",
        "//submodules/ListMessageItem:ListMessageItem",
        "//submodules/FileMediaResourceStatus:FileMediaResourceStatus",
        "//submodules/ChatMessageInteractiveMediaBadge:ChatMessageInteractiveMediaBadge",
        "//submodules/GalleryData:GalleryData",
        "//submodules/ChatInterfaceState:ChatInterfaceState",
        "//submodules/AnimatedCountLabelNode:AnimatedCountLabelNode",
        "//submodules/AnimatedAvatarSetNode:AnimatedAvatarSetNode",
        "//submodules/SlotMachineAnimationNode:SlotMachineAnimationNode",
        "//submodules/AnimatedNavigationStripeNode:AnimatedNavigationStripeNode",
        "//submodules/AudioBlob:AudioBlob",
        "//Telegram:GeneratedSources",
        "//third-party/ZipArchive:ZipArchive",
        "//submodules/ChatImportUI:ChatImportUI",
        "//submodules/DatePickerNode:DatePickerNode",
        "//submodules/ConfettiEffect:ConfettiEffect",
        "//submodules/Speak:Speak",
        "//submodules/PeerInfoAvatarListNode:PeerInfoAvatarListNode",
        "//submodules/DebugSettingsUI:DebugSettingsUI",
        "//submodules/ImportStickerPackUI:ImportStickerPackUI",
        "//submodules/GradientBackground:GradientBackground",
        "//submodules/WallpaperBackgroundNode:WallpaperBackgroundNode",
        "//submodules/ComponentFlow:ComponentFlow",
        "//submodules/AdUI:AdUI",
        "//submodules/SparseItemGrid:SparseItemGrid",
        "//submodules/CalendarMessageScreen:CalendarMessageScreen",
        "//submodules/DirectMediaImageCache:DirectMediaImageCache",
        "//submodules/CodeInputView:CodeInputView",
        "//submodules/Components/ReactionButtonListComponent:ReactionButtonListComponent",
        "//submodules/InvisibleInkDustNode:InvisibleInkDustNode",
        "//submodules/QrCodeUI:QrCodeUI",
        "//submodules/Components/ReactionListContextMenuContent:ReactionListContextMenuContent",
        "//submodules/Components/ReactionImageComponent:ReactionImageComponent",
        "//submodules/TabBarUI:TabBarUI",
        "//submodules/SoftwareVideo:SoftwareVideo",
        "//submodules/ManagedFile:ManagedFile",
        "//submodules/FetchManagerImpl:FetchManagerImpl",
        "//submodules/AttachmentUI:AttachmentUI",
        "//submodules/AttachmentTextInputPanelNode:AttachmentTextInputPanelNode",
        "//submodules/ChatPresentationInterfaceState:ChatPresentationInterfaceState",
        "//submodules/Pasteboard:Pasteboard",
        "//submodules/ChatSendMessageActionUI:ChatSendMessageActionUI",
        "//submodules/ChatTextLinkEditUI:ChatTextLinkEditUI",
        "//submodules/MediaPickerUI:MediaPickerUI",
        "//submodules/ChatMessageBackground:ChatMessageBackground",
        "//submodules/PeerInfoUI/CreateExternalMediaStreamScreen:CreateExternalMediaStreamScreen",
        "//submodules/TranslateUI:TranslateUI",
        "//submodules/BrowserUI:BrowserUI",
        "//submodules/PremiumUI:PremiumUI",
        "//submodules/Components/HierarchyTrackingLayer:HierarchyTrackingLayer",
        "//submodules/Utils/RangeSet:RangeSet",
        "//submodules/InAppPurchaseManager:InAppPurchaseManager",
        "//submodules/TelegramUI/Components/AudioTranscriptionButtonComponent:AudioTranscriptionButtonComponent",
        "//submodules/TelegramUI/Components/AudioTranscriptionPendingIndicatorComponent:AudioTranscriptionPendingIndicatorComponent",
        "//submodules/TelegramUI/Components/AudioWaveformComponent:AudioWaveformComponent",
        "//submodules/TelegramUI/Components/EditableChatTextNode:EditableChatTextNode",
        "//submodules/TelegramUI/Components/EmojiTextAttachmentView:EmojiTextAttachmentView",
        "//submodules/TelegramUI/Components/EntityKeyboard:EntityKeyboard",
        "//submodules/TelegramUI/Components/AnimationCache:AnimationCache",
        "//submodules/TelegramUI/Components/LottieAnimationCache:LottieAnimationCache",
        "//submodules/TelegramUI/Components/VideoAnimationCache:VideoAnimationCache",
        "//submodules/TelegramUI/Components/MultiAnimationRenderer:MultiAnimationRenderer",
        "//submodules/TelegramUI/Components/ChatInputPanelContainer:ChatInputPanelContainer",
        "//submodules/TelegramUI/Components/TextNodeWithEntities:TextNodeWithEntities",
        "//submodules/TelegramUI/Components/EmojiSuggestionsComponent:EmojiSuggestionsComponent",
        "//submodules/TelegramUI/Components/EmojiStatusSelectionComponent:EmojiStatusSelectionComponent",
        "//submodules/TelegramUI/Components/EmojiStatusComponent:EmojiStatusComponent",
        "//submodules/TelegramUI/Components/ChatControllerInteraction:ChatControllerInteraction",
        "//submodules/Components/ComponentDisplayAdapters:ComponentDisplayAdapters",
        "//submodules/Media/ConvertOpusToAAC:ConvertOpusToAAC",
        "//submodules/Media/LocalAudioTranscription:LocalAudioTranscription",
        "//submodules/Components/PagerComponent:PagerComponent",
        "//submodules/Components/LottieAnimationComponent:LottieAnimationComponent",
        "//submodules/TelegramUI/Components/NotificationExceptionsScreen:NotificationExceptionsScreen",
        "//submodules/TelegramUI/Components/ForumCreateTopicScreen:ForumCreateTopicScreen",
        "//submodules/TelegramUI/Components/ChatTitleView",
        "//submodules/InviteLinksUI:InviteLinksUI",
        "//submodules/TelegramUI/Components/NotificationPeerExceptionController",
        "//submodules/TelegramUI/Components/ChatListHeaderComponent",
        "//submodules/TelegramUI/Components/ChatInputNode",
        "//submodules/TelegramUI/Components/ChatEntityKeyboardInputNode",
        "//submodules/TelegramUI/Components/StorageUsageScreen",
        "//submodules/TelegramUI/Components/AvatarEditorScreen",
        "//submodules/TelegramUI/Components/LottieComponent",
        "//submodules/MediaPasteboardUI:MediaPasteboardUI",
        "//submodules/DrawingUI:DrawingUI",
        "//submodules/FeaturedStickersScreen:FeaturedStickersScreen",
        "//submodules/TelegramUI/Components/SendInviteLinkScreen",
        "//submodules/TelegramUI/Components/ChatFolderLinkPreviewScreen",
        "//submodules/TelegramUI/Components/SliderContextItem:SliderContextItem",
        "//submodules/TelegramUI/Components/Stories/StoryContainerScreen",
        "//submodules/TelegramUI/Components/CameraScreen",
        "//submodules/TelegramUI/Components/MediaEditorScreen",
        "//submodules/TelegramUI/Components/ChatScheduleTimeController",
        "//submodules/ICloudResources",
        "//submodules/TelegramUI/Components/LegacyCamera",
        "//submodules/TelegramUI/Components/ChatTextInputMediaRecordingButton",
        "//submodules/TelegramUI/Components/ChatSendButtonRadialStatusNode",
        "//submodules/TelegramUI/Components/LegacyInstantVideoController",
        "//submodules/TelegramUI/Components/FullScreenEffectView",
        "//submodules/TelegramUI/Components/ShareWithPeersScreen",
        "//submodules/TelegramUI/Components/PeerInfo/PeerInfoVisualMediaPaneNode",
        "//submodules/TelegramUI/Components/PeerInfo/PeerInfoStoryGridScreen",
        "//submodules/TelegramUI/Components/MoreHeaderButton",
        "//submodules/TelegramUI/Components/Stories/AvatarStoryIndicatorComponent",
        "//submodules/TelegramUI/Components/Stories/StorySetIndicatorComponent",
        "//submodules/TelegramUI/Components/Chat/ChatMessageForwardInfoNode",
        "//submodules/TelegramUI/Components/Chat/ChatAvatarNavigationNode",
        "//submodules/TelegramUI/Components/PeerReportScreen",
        "//submodules/Utils/VolumeButtons",
        "//submodules/ChatContextQuery",
        "//submodules/TelegramUI/Components/TelegramUIDeclareEncodables",
        "//submodules/TelegramUI/Components/TelegramAccountAuxiliaryMethods",
        "//submodules/TelegramUI/Components/PeerSelectionController",
        "//submodules/TelegramUI/Components/Chat/AccessoryPanelNode",
        "//submodules/TelegramUI/Components/Chat/ForwardAccessoryPanelNode",
        "//submodules/TelegramUI/Components/LegacyMessageInputPanel",
        "//submodules/StatisticsUI",
        "//submodules/TelegramUI/Components/PremiumGiftAttachmentScreen",
        "//submodules/TelegramUI/Components/Chat/ChatMessageDateAndStatusNode",
        "//submodules/TelegramUI/Components/Chat/ChatMessageBubbleContentNode",
        "//submodules/TelegramUI/Components/Chat/ChatHistoryEntry",
        "//submodules/TelegramUI/Components/Chat/ChatMessageItemCommon",
        "//submodules/TelegramUI/Components/Chat/ChatMessageTextBubbleContentNode",
        "//submodules/TelegramUI/Components/Chat/EditableTokenListNode",
        "//submodules/TelegramUI/Components/Chat/ChatInputTextNode",
        "//submodules/TelegramUI/Components/Chat/ChatMessageReplyInfoNode",
        "//submodules/TelegramUI/Components/Chat/ChatOverscrollControl",
        "//submodules/TelegramUI/Components/AudioWaveformNode",
        "//submodules/TelegramUI/Components/Chat/ChatBotInfoItem",
        "//submodules/TelegramUI/Components/Chat/ChatUserInfoItem",
        "//submodules/TelegramUI/Components/Chat/ChatNewThreadInfoItem",
        "//submodules/TelegramUI/Components/Chat/ChatInputPanelNode",
        "//submodules/TelegramUI/Components/Chat/ChatButtonKeyboardInputNode",
        "//submodules/TelegramUI/Components/Chat/ChatChannelSubscriberInputPanelNode",
        "//submodules/TelegramUI/Components/Chat/ChatContextResultPeekContent",
        "//submodules/TelegramUI/Components/Chat/ChatInputContextPanelNode",
        "//submodules/TelegramUI/Components/Chat/ReplyAccessoryPanelNode",
        "//submodules/TelegramUI/Components/Chat/SuggestPostAccessoryPanelNode",
        "//submodules/TelegramUI/Components/Chat/ChatMessageCallBubbleContentNode",
        "//submodules/TelegramUI/Components/Chat/ChatMessageInteractiveInstantVideoNode",
        "//submodules/TelegramUI/Components/Chat/InstantVideoRadialStatusNode",
        "//submodules/TelegramUI/Components/Chat/ChatMessageInteractiveFileNode",
        "//submodules/TelegramUI/Components/Chat/ChatMessageFileBubbleContentNode",
        "//submodules/TelegramUI/Components/Chat/ChatMessageInteractiveMediaNode",
        "//submodules/TelegramUI/Components/WallpaperPreviewMedia",
        "//submodules/TelegramUI/Components/Chat/ChatMessageAttachedContentNode",
        "//submodules/TelegramUI/Components/Chat/ChatMessageAttachedContentButtonNode",
        "//submodules/TelegramUI/Components/Chat/ChatMessageWebpageBubbleContentNode",
        "//submodules/TelegramUI/Components/Chat/ChatMessageItem",
        "//submodules/TelegramUI/Components/Chat/ChatMessageStickerItemNode",
        "//submodules/TelegramUI/Components/Chat/ChatMessageSwipeToReplyNode",
        "//submodules/TelegramUI/Components/Chat/ChatMessageSelectionNode",
        "//submodules/TelegramUI/Components/Chat/ChatMessageDeliveryFailedNode",
        "//submodules/TelegramUI/Components/Chat/ChatMessageShareButton",
        "//submodules/TelegramUI/Components/Chat/ChatMessageThreadInfoNode",
        "//submodules/TelegramUI/Components/Chat/ChatMessageActionButtonsNode",
        "//submodules/TelegramUI/Components/Chat/ChatMessageReactionsFooterContentNode",
        "//submodules/TelegramUI/Components/Chat/ChatSwipeToReplyRecognizer",
        "//submodules/TelegramUI/Components/Chat/ChatMessageInstantVideoItemNode",
        "//submodules/TelegramUI/Components/Chat/ChatMessageInstantVideoBubbleContentNode",
        "//submodules/TelegramUI/Components/Chat/ChatMessageAnimatedStickerItemNode",
        "//submodules/TelegramUI/Components/Chat/ChatMessageTransitionNode",
        "//submodules/TelegramUI/Components/Chat/ManagedDiceAnimationNode",
        "//submodules/TelegramUI/Components/Chat/ChatMessageCommentFooterContentNode",
        "//submodules/TelegramUI/Components/Chat/ChatMessageActionBubbleContentNode",
        "//submodules/TelegramUI/Components/Chat/ChatMessageContactBubbleContentNode",
        "//submodules/TelegramUI/Components/Chat/ChatMessageEventLogPreviousDescriptionContentNode",
        "//submodules/TelegramUI/Components/Chat/ChatMessageEventLogPreviousLinkContentNode",
        "//submodules/TelegramUI/Components/Chat/ChatMessageEventLogPreviousMessageContentNode",
        "//submodules/TelegramUI/Components/Chat/ChatMessageGameBubbleContentNode",
        "//submodules/TelegramUI/Components/Chat/ChatMessageInvoiceBubbleContentNode",
        "//submodules/TelegramUI/Components/Chat/ChatMessageMapBubbleContentNode",
        "//submodules/TelegramUI/Components/Chat/ChatMessageMediaBubbleContentNode",
        "//submodules/TelegramUI/Components/Chat/ChatMessageProfilePhotoSuggestionContentNode",
        "//submodules/TelegramUI/Components/Chat/ChatMessageRestrictedBubbleContentNode",
        "//submodules/TelegramUI/Components/Chat/ChatMessageStoryMentionContentNode",
        "//submodules/TelegramUI/Components/Chat/ChatMessageUnsupportedBubbleContentNode",
        "//submodules/TelegramUI/Components/Chat/ChatMessageWallpaperBubbleContentNode",
        "//submodules/TelegramUI/Components/Chat/ChatMessageGiftBubbleContentNode",
        "//submodules/TelegramUI/Components/Chat/ChatMessageGiveawayBubbleContentNode",
        "//submodules/TelegramUI/Components/Chat/ChatMessageBubbleItemNode",
        "//submodules/TelegramUI/Components/Chat/ChatRecentActionsController",
        "//submodules/TelegramUI/Components/Chat/ChatNavigationButton",
        "//submodules/TelegramUI/Components/Chat/ChatLoadingNode",
        "//submodules/TelegramUI/Components/Settings/PeerNameColorScreen",
        "//submodules/TelegramUI/Components/ContextMenuScreen",
        "//submodules/TelegramUI/Components/PeerAllowedReactionsScreen",
        "//submodules/MetalEngine",
        "//submodules/TelegramUI/Components/DustEffect",
        "//submodules/TelegramUI/Components/PeerInfo/PeerInfoScreen",
        "//submodules/TelegramUI/Components/Chat/ChatMessageSelectionInputPanelNode",
        "//submodules/TelegramUI/Components/Chat/ChatQrCodeScreen",
        "//submodules/UIKitRuntimeUtils",
        "//submodules/TelegramUI/Components/SavedMessages/SavedMessagesScreen",
        "//submodules/TelegramUI/Components/Settings/WallpaperGalleryScreen",
        "//submodules/TelegramUI/Components/Settings/WallpaperGridScreen",
        "//submodules/TelegramUI/Components/Chat/ChatMessageNotificationItem",
        "//submodules/Components/MultilineTextComponent",
        "//submodules/TelegramUI/Components/PlainButtonComponent",
        "//submodules/Components/BalancedTextComponent",
        "//submodules/TelegramUI/Components/VideoMessageCameraScreen",
        "//submodules/TelegramUI/Components/MediaScrubberComponent",
        "//submodules/TelegramUI/Components/Chat/ChatShareMessageTagView",
        "//submodules/AudioWaveform",
        "//submodules/PromptUI",
        "//submodules/Components/BundleIconComponent",
        "//submodules/TelegramUI/Components/Chat/TopMessageReactions",
        "//submodules/TelegramUI/Components/Chat/SavedTagNameAlertController",
        "//submodules/TelegramUI/Components/Chat/ChatInlineSearchResultsListComponent",
        "//submodules/TelegramUI/Components/Settings/ChatbotSetupScreen",
        "//submodules/TelegramUI/Components/Settings/BusinessLocationSetupScreen",
        "//submodules/TelegramUI/Components/Settings/BusinessHoursSetupScreen",
        "//submodules/TelegramUI/Components/Settings/AutomaticBusinessMessageSetupScreen",
        "//submodules/TelegramUI/Components/Settings/BusinessIntroSetupScreen",
        "//submodules/TelegramUI/Components/Settings/QuickReplyNameAlertController",
        "//submodules/TelegramUI/Components/Settings/CollectibleItemInfoScreen",
        "//submodules/TelegramUI/Components/StickerPickerScreen",
        "//submodules/TelegramUI/Components/Chat/ChatEmptyNode",
        "//submodules/TelegramUI/Components/Chat/ChatMediaInputStickerGridItem",
        "//submodules/TelegramUI/Components/Settings/BusinessLinkNameAlertController",
        "//submodules/TelegramUI/Components/Ads/AdsInfoScreen",
        "//submodules/TelegramUI/Components/Ads/AdsReportScreen",
        "//submodules/TelegramUI/Components/Settings/BotSettingsScreen",
        "//submodules/TelegramUI/Components/AdminUserActionsSheet",
        "//submodules/TelegramUI/Components/Chat/ChatSendAudioMessageContextPreview",
        "//submodules/TelegramUI/Components/Stars/StarsTransactionsScreen",
        "//submodules/TelegramUI/Components/Stars/StarsPurchaseScreen",
        "//submodules/TelegramUI/Components/Stars/StarsTransferScreen",
        "//submodules/TelegramUI/Components/Stars/StarsTransactionScreen",
        "//submodules/TelegramUI/Components/Stars/StarsWithdrawalScreen",
        "//submodules/TelegramUI/Components/Chat/FactCheckAlertController",
        "//submodules/TelegramUI/Components/Chat/ChatMessagePaymentAlertController",
        "//submodules/TelegramUI/Components/PeerManagement/OwnershipTransferController",
        "//submodules/TelegramUI/Components/PeerManagement/OldChannelsController",
        "//submodules/TelegramUI/Components/Chat/ChatSendStarsScreen",
        "//submodules/TelegramUI/Components/MinimizedContainer",
        "//submodules/TelegramUI/Components/SpaceWarpView",
        "//submodules/TelegramUI/Components/MiniAppListScreen",
        "//submodules/TelegramUI/Components/Stars/StarsIntroScreen",
        "//submodules/TelegramUI/Components/Gifts/GiftOptionsScreen",
        "//submodules/TelegramUI/Components/Gifts/GiftStoreScreen",
        "//submodules/TelegramUI/Components/ContentReportScreen",
        "//submodules/TelegramUI/Components/PeerInfo/AffiliateProgramSetupScreen",
        "//submodules/TelegramUI/Components/Stars/StarsBalanceOverlayComponent",
        "//submodules/TelegramUI/Components/Settings/AccountFreezeInfoScreen",
        "//submodules/TelegramUI/Components/JoinSubjectScreen",
        "//submodules/TelegramUI/Components/Chat/QuickShareScreen",
        "//submodules/TelegramUI/Components/ButtonComponent",
        "//submodules/Components/BlurredBackgroundComponent",
        "//submodules/TelegramUI/Components/CheckComponent",
        "//submodules/TelegramUI/Components/MarqueeComponent",
        "//submodules/TelegramUI/Components/PeerInfo/PostSuggestionsSettingsScreen",
        "//submodules/TelegramUI/Components/ForumSettingsScreen",
        "//submodules/TelegramUI/Components/Chat/ChatSideTopicsPanel",
        "//submodules/TelegramUI/Components/GifVideoLayer",
        "//submodules/TelegramUI/Components/BatchVideoRendering",
        "//submodules/TelegramUI/Components/ComposeTodoScreen",
        "//submodules/TelegramUI/Components/SuggestedPostApproveAlert",
        "//submodules/TelegramUI/Components/Stars/BalanceNeededScreen",
        "//submodules/TelegramUI/Components/FaceScanScreen",
        "//submodules/TelegramUI/Components/MediaManager/PeerMessagesMediaPlaylist",
        "//submodules/TelegramUI/Components/ChatThemeScreen",
        "//submodules/TelegramUI/Components/Chat/ChatTextInputPanelNode",
        "//submodules/ContactsHelper",
        "//submodules/TelegramUI/Components/GlassBackgroundComponent",
        "//submodules/TelegramUI/Components/Chat/ChatInputAccessoryPanel",
        "//submodules/TelegramUI/Components/Chat/ChatInputMessageAccessoryPanel",
        "//submodules/TelegramUI/Components/Chat/ChatRecordingViewOnceButtonNode",
        "//submodules/TelegramUI/Components/EdgeEffect",
    ] + select({
        "@build_bazel_rules_apple//apple:ios_arm64": appcenter_targets,
        "//build-system:ios_sim_arm64": [],
        "@build_bazel_rules_apple//apple:ios_x86_64": [],
    }),
    visibility = [
        "//visibility:public",
    ],
)
